﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="fastaddorderbox.aspx.cs" Inherits="qy_54tss_Admin_Service_fastaddorderbox" %>

<%@ Register Src="CrmTop.ascx" TagName="TogoBanner" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="x-ua-compatible" content="ie=7" />
    <title>客服系统-<%= WebUtility.GetMyName()%></title>
    <link type="text/css" rel="stylesheet" href="css/indis_style.css" />

    <script src="../../javascript/jquery-1.3.2.js" type="text/javascript"></script>

    <script src="../javascript/Common.js" type="text/javascript"></script>

    <script src="../javascript/DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script src="../../javascript/sendfee.js"></script>

    <script src="../../javascript/spin.min.js"></script>

    <script type="text/javascript">


        $(document).ready(function() {
            startcur();
           
            var hfnotice = $("#hfnotice").val();
            if (hfnotice.length > 0) {
                alert(hfnotice);

            }

        })

        function addfood() {
            var id = Request("id");
            window.location = "showMenu.aspx?id=" + id + "&tel=" + Request("tel");
        }

        function checkmyorder()
        {
            var flag = j_submitdata("postdata");
            if (!flag) {
                return false;
            }

            Loader.show('#tbadd');

            return true;
        }
       
    </script>

    <style type="text/css">
        .noseeitem {
            display: none;
        }
    </style>
</head>
<body>
    <form runat="server">
        <div class="wrap">

            <input type="hidden" runat="server" id="hfnotice" />

            <asp:HiddenField runat="server" ID="hidLat" />
            <asp:HiddenField runat="server" ID="hidLng" />
            <asp:HiddenField runat="server" ID="hftid" />
            <asp:HiddenField runat="server" ID="hidTogoName" />
            <asp:HiddenField runat="server" ID="hfcode" />
          
            <div class="infaq_con" style="border:none;">
                <div >
                    <div class="indis_right_top" style="border:none;">

                        <asp:ScriptManager ID="ScriptManager1" runat="server">
                        </asp:ScriptManager>
                        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <div>
                                  
                                    <div class="infaq_infor postdata">
                                        <p style="margin-top: 10px;">
                                            &nbsp;&nbsp;姓名：<asp:TextBox runat="server" ID="tbuname" CssClass="j_text noaccessitem"></asp:TextBox>
                                        </p>
                                        <p>
                                            &nbsp;&nbsp;电话：<asp:TextBox runat="server" ID="tbtel" CssClass="j_text noaccessitem"></asp:TextBox>
                                        </p>

                                        <p>
                                            &nbsp;&nbsp;地址：<asp:TextBox runat="server" ID="tbaddress" CssClass="j_text keyaddress noaccessitem"
                                                Width="410px"></asp:TextBox>
                                        </p>

                                        <p>
                                            <span class="float_l" style="margin-right: 3px;">出餐时间：</span>

                                            <asp:DropDownList runat="server" ID="ddltime" Style="width: 80px;">
                                                <asp:ListItem> </asp:ListItem>
                                            </asp:DropDownList>

                                        </p>

                                        <p>
                                            商品金额：<input class="j_text w_140p" name="" value="0" type="text" runat="server" id="tbPrice" reg="^[-+]?\d+(\.\d+)?$" tip="商品金额格式错误,请输入数字"
                                                style="width: 60px;" />元
                                        </p>

                                        <p>
                                            配送距离：<input class="j_text w_140p" name="" type="text" value="0" runat="server" id="tbcardpay" reg="^[-+]?\d+(\.\d+)?$" tip="配送距离格式错误,请输入数字"
                                                style="width: 60px;" />公里&nbsp;&nbsp;配送费：<input class="j_text w_140p" name="" value="0" type="text" runat="server" id="tbshopdiscountmoney" reg="^[-+]?\d+(\.\d+)?$" tip="配送费格式错误,请输入数字"
                                                style="width: 60px;" />元

                                             <input type="button" value="计算配送费" id="btgetfee" onclick="startcur()" class="submit_order_btn" style="display:none;" />
                                        </p>

                                       
                                        <p>
                                            &nbsp;&nbsp;佣金：<input class="j_text w_140p" name="" type="text" runat="server" id="tbCommission"  reg="^[-+]?\d+(\.\d+)?$" tip="佣金格式错误,请输入数字"
                                                style="width: 60px;" />元&nbsp;&nbsp;&nbsp;代收金额：<input class="j_text w_140p" value="0" name="" type="text" runat="server" id="tbAdvance"  reg="^[-+]?\d+(\.\d+)?$" tip="代收金额格式错误,请输入数字"
                                                style="width: 60px;" />元
                                        </p>

                                       

                                        <p>
                                           
                                        </p>

                                        <p>
                                            <span class="float_l" style="margin-right: 3px;">&nbsp;票/券：</span>

                                            <asp:DropDownList runat="server" ID="ddlSystemUserId">
                                                <asp:ListItem Text="否" Value="0"></asp:ListItem>
                                                <asp:ListItem Text="是" Value="1"></asp:ListItem>

                                            </asp:DropDownList>
                                        </p>


                                        <p>
                                            连单备注：<input class="j_text w_140p" name="" type="text" runat="server" id="tbMergeorderremark"
                                                style="width: 360px;" />
                                        </p>

                                        <p>
                                          
                                         &nbsp;&nbsp;备注：<input class="j_text w_140p" name="" type="text" runat="server" id="tbremark" style="width:50%" />
                                        </p>

                                        <p>
                                            其他备注：<input class="j_text w_140p" name="" type="text" runat="server" id="tbcardids"
                                                style="width: 360px;" />
                                        </p>
                                    </div>

                                    <div class="dish_type_unit">
                                      

                                        <div style="margin: 10px; text-align: center">
                                            <asp:Button runat="server" ID="tbadd" OnClick="add_click" Text="提交订单" CssClass="submit_order_btn"
                                                OnClientClick="return checkmyorder();" />
                                        </div>
                                    </div>
                                </div>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
